package org.shiro.token;

import org.apache.shiro.authc.UsernamePasswordToken;

/**
 * 自定义验证，添加验证码验证
 */
public class UsernamePasswordCaptchaToken extends UsernamePasswordToken {
 
	private static final long serialVersionUID = 1L;
 
	private String captcha;
 
	public String getCaptcha() {
		return captcha;
	}
 
	public void setCaptcha(String captcha) {
		this.captcha = captcha;
	}
 
	public UsernamePasswordCaptchaToken() {
		super();
 
	}
 
	public UsernamePasswordCaptchaToken(String username, String password, String captcha) {
		super(username, password);
		this.captcha = captcha;
	}
 
}